<?php

// +---------------------------------------------+
// |     Copyright  2010 - 2018 InterPhoto       |
// |     http://www.weentech.com                 |
// |     This file may not be redistributed.     |
// +---------------------------------------------+


include('includes/InterPhoto.Core.php');

CheckAccess('allowlogin');


$smarty = new InterPhoto;

$pagenav = '<a href="'.GetUrl('index.php').'">'.$langs['home'].'</a> '.$langs['nav'].' <a href="'.GetUrl('mydesk.php').'">'.$langs['mydesk'].'</a> '.$langs['nav'] . ' <span class=navtitle_b>' .$sys_langs['noaccesstitle'] .'</span>';


$errors = $sys_langs['noaccess'];
$errortitle = $sys_langs['noaccesstitle'];


$smarty->assign('pagenav', $pagenav);
$smarty->assign('userinfo', $userinfo);
$smarty->assign('pagetitle', $sys_langs['noaccesstitle'] . ' - ' .$mainsettings['siteTitle']);

$smarty->interPlay('mydesk.noaccess.tpl');

?>